package app.service;


import java.sql.Timestamp;
import java.util.List;

import app.domain.FixOrder;
import app.domain.FixOrderInfo;

public interface FixOrderService {
   int addFixOrder(FixOrder fixOrder);
   List<FixOrder> getByRequire(Integer fixOrderId,Integer accountId,Integer handleStatus,Timestamp time1,Timestamp time2);
   void delete(int fixOrderId);
   FixOrderInfo getInfo(int fixOrderId);
   void updateInfo(FixOrder fixOrder);
   void closeOrder(int id);
   void updateHandleStatus(int fixOrderId,int handleStatus);
   List<FixOrder> getByRequire(Integer workerId,Integer fixOrderId,Integer handleStatus);
   Integer findByTime(String format, String format2);
   Integer findByTimeForWork(String format, String format2);
}
